-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update pager workaround code to Fragment 1.3.6 #7149
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapterMenuWorkaround.java
Outdated
Show resolved
Hide resolved
0f9b319
to
3fb4042
Compare
3fb4042
to
7f2df25
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Seems to work as expected when using the main page.
app/src/main/java/androidx/fragment/app/FragmentStatePagerAdapterMenuWorkaround.java
Outdated
Show resolved
Hide resolved
Made the PR to a draft until the above is fixed. |
7f2df25
to
ed86b1c
Compare
Should be good now. |
@Stypox I believe your review has been addressed, so I'll dismiss it. |
What is it?
Description of the changes in your PR
FragmentStatePagerAdapter
to theFragmentStatePagerAdapterMenuWorkaround
, since the current one is from a much older version.Of course, this class will eventually be removed for ViewPager2, but I figured I'd do this anyway until ViewPager2 can actually be implemented.
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence